﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaltechSoft.Service.EntityFW.Entity
{
    [Table("Equipment")]
    public class Equipment : Entity
    {
        public string Manufacturer { get; set; }
        public string Description { get; set; }
        public string ModelNumber { get; set; }
        public string SerialNumber { get; set; }
        public string PONumber { get; set; }
        public string Procedure { get; set; }
        public string AssetNumber { get; set; }
        public float? Price { get; set; }

        public DateTime? CalibrationDate { get; set; }
        public DateTime? NextDueDate { get; set; }
        public string Name { get; set; }

        [ForeignKey("UpdatedBy")]
        public virtual User Salesman { get; set; }
    }
}
